<%-- 
    Document   : administrador
    Created on : Jul 13, 2013, 1:29:14 PM
    Author     : educacionit
--%>
<%
    if(session.getAttribute("adm") == null)
        response.sendRedirect("ERRORES.jsp");
    else if(!session.getAttribute("adm").equals("dante"))
        response.sendRedirect("ERRORES.jsp");

%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Bienvenido administrador</h1>
        <br/>
        Su id es: <%= session.getId() %>
    </body>
</html>
